﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Util;

namespace DataCenter.Model.Model
{
    public partial class Region
    {
        public Region()
        {
            Provinces = new HashSet<Province>();
        }

        [NotMapped]
        public bool? TransferFlag { get { return SoTransferFlag.ToBoolean(); } }

        public ICollection<Province> Provinces { get; set; }
    }
}
